<div class="pagination">
<a href="<?php echo $pageUrl,1; ?>">&nbsp;首页&nbsp;</a>&nbsp;		
<?php if (($page-1) > 1){ ?><a href="<?php echo $pageUrl,($page-1); ?>">上一页</a>&nbsp;<?php } ?>				
&nbsp;<span href="<?php echo $pageUrl,$page; ?>" ><?php echo $page; ?></span> 
<?php if (($page+1) <=  $total_page){ ?>&nbsp;<a href="<?php echo $pageUrl,($page+1); ?>">下一页</a><?php } ?> 
<a href="<?php echo $pageUrl,$total_page; ?>">&nbsp;尾页&nbsp;</a> 
<span>共<?php echo $total_page ?>页, &nbsp;&nbsp;&nbsp;共<?php echo $total; ?>条数据</span>
</div>